package cn.bmbanjia.zebra2024.apps.laddieAndroid.marketingCampaignClew.entity;

import cn.bmbanjia.zebra2024.mybatisflex.BaseEntity;
import cn.bmbanjia.zebra2024.mybatisflex.InsertOrUpdateListener;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 小哥限时推单线索 实体类。
 *
 * @author fugui
 * @since 2024-07-10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@Table(value = "bm_marketing_campaign_clew", onInsert = InsertOrUpdateListener.class, onUpdate = InsertOrUpdateListener.class)
@NoArgsConstructor
@AllArgsConstructor
public class MarketingCampaignClew extends BaseEntity {

    /**
     * 线索ID
     */
    @Id(keyType = KeyType.Auto)
    private Integer mccId;

    /**
     * 0=上报成功 1=已下单 2=已成交 3=已核销 4=取消
     */
    private MccStatus mccStatus;

    /**
     * 佣金
     */
    private Double mccCommission;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 小哥ID
     */
    private Integer laddieId;

    private String laddieName;

    private String customerName;

    private String customerPhone;

    private String customerRemark;

}
